.bill-of-material {
  padding-top: 10px;
  padding-right: 20px;
  height: calc(100% - 10px);
}

.bill-of-material .bill-of-material-content {
  height: calc(100% - 46px);
  overflow: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bill-of-material .bill-of-material-content.hasPage {
  height: calc(100% - 88px);
}

.bill-of-material .el-form-item {
  margin-bottom: 10px;
}

.bill-of-material .bill-of-material-content .order-info>div {
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

.bill-of-material .bill-of-material-content .bill-of-material-table-div {
  flex: 1;
  overflow: auto;
}

.bill-of-material .bill-of-material-content .bill-of-material-table-div .el-table .material-added td {
  background: #F56C6C;
}

.bill-of-material .el-button+.el-button {
  margin-left: 3px;
}

.bill-of-material .colorDesc>div {
  float: left;
  height: 30px;
  margin-right: 10px;
}

.bill-of-material .colorDesc>div>* {
  float: left;
  line-height: 30px;
}

.bill-of-material .colorDesc .color {
  height: 15px;
  width: 15px;
  margin-top: 6px;
  margin-right: 5px;
}